package birs.model.expanditure;

import java.math.BigDecimal;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;

@Entity
public class XPD002ModelB {
	
	@Column(name="DEPARTMENTID")
	private int depId;
	@Column(name="DEPARTMENTNAME")
	private String name=" ";
	@Column(name="AMOUNT")
	private BigDecimal amount;
	private List<XPD002ModelC> children;
	
	public int getDepId() {
		return depId;
	}
	public void setDepId(int depId) {
		this.depId = depId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	public List<XPD002ModelC> getChildren() {
		return children;
	}
	public void setChildren(List<XPD002ModelC> childs) {
		this.children = childs;
	}
}